/**
 * (●'◡'●) Created by xxy on 2017/7/18 16:04
 */

var http = require("http")
var fs = require("fs");

http.createServer(function (req,res) {
    var txt = fs.readFileSync("../data/data.json");
    res.end("foo2("+txt+")");
}).listen(3456);
console.log("http://localhost:3456");